from django.db import models

# Create your models here.
class UserModel(models.Model):
    name = models.CharField(max_length=128,verbose_name='用户名')
    password = models.CharField(max_length=128,verbose_name='用户密码')
    mobile = models.CharField(max_length=128,verbose_name='用户手机')
    money = models.CharField(max_length=128,verbose_name='金额')
    class Meta:
        db_table = 'user'
    def __str__(self):
        return self.name